public class Dog {
    public String name;
    public String color;

    public void bark(){
        System.out.println(name + "汪汪叫");
    }

    public void wag(){
        System.out.println(name + "摇尾巴");
    }
}
